package org.linlinjava.litemall.admin.vo.shop;

import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author wj
 * @date 2021/8/19 9:47
 */
public class AddExpressVo {

    private Integer templateID;

    @NotBlank(message = "模板名称不能为空")
    private String templateName;

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    @NotNull(message = "配送区域不能为空")
    private Integer billingMethod;

    @Size(min = 1,message = "配送区域信息不能为空")
    private List<BistributionArea> bistributionArea;

    public Integer getTemplateID() {
        return templateID;
    }

    public void setTemplateID(Integer templateID) {
        this.templateID = templateID;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Integer getBillingMethod() {
        return billingMethod;
    }

    public void setBillingMethod(Integer billingMethod) {
        this.billingMethod = billingMethod;
    }

    public List<BistributionArea> getBistributionArea() {
        return bistributionArea;
    }

    public void setBistributionArea(List<BistributionArea> bistributionArea) {
        this.bistributionArea = bistributionArea;
    }
}
